package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 通用规则逻辑对象 his_engine_rule_common
 * 
 * @author Alan
 * @date 2024-03-07
 */
public class HisEngineRuleCommon extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 规则id */
    @Excel(name = "规则id")
    private Long ruleId;

    /** 规则计算方式： 1: >  2: < 3: =  4: != 5:包含 6:不包含 */
    @Excel(name = "规则计算方式： 1: >  2: < 3: =  4: != 5:包含 6:不包含")
    private Long condition;

    /** $column.columnComment */
    @Excel(name = "规则计算方式： 1: >  2: < 3: =  4: != 5:包含 6:不包含")
    private String value;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRuleId(Long ruleId) 
    {
        this.ruleId = ruleId;
    }

    public Long getRuleId() 
    {
        return ruleId;
    }
    public void setCondition(Long condition) 
    {
        this.condition = condition;
    }

    public Long getCondition() 
    {
        return condition;
    }
    public void setValue(String value) 
    {
        this.value = value;
    }

    public String getValue() 
    {
        return value;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ruleId", getRuleId())
            .append("condition", getCondition())
            .append("createTime", getCreateTime())
            .append("value", getValue())
            .toString();
    }
}
